// 项目管理api
import http from '../../config';
var querystring = require('querystring');
export default {
    // 获取分页
    getServiceProjectPage(params) {
        return http.get(
            '/api/getServiceProjectPage', {
            'params': params
        }
        );
    },
    //详情
    getServiceProject(params) {
        return http.get(
            '/api/getServiceProject', {
            'params': params
        }
        );
    },
    // 添加
    addServiceProject(params) {
        return http.post(
            '/api/addServiceProject', params
        );
    },
    //编辑
    modifyServiceProject(params) {
        return http.post(
            '/api/modifyServiceProject', params
        );
    },
    //撤回
    revokeServiceProject(params) {
        return http.post(
            '/api/revokeServiceProject', params
        );
    },
    //删除
    deleteServiceProject(params) {
        return http.post(
            '/api/deleteServiceProject', params
        );
    },
    // 完结项目
    finishServiceProject(params) {
        return http.post(
            '/api/finishServiceProject', params
        );
    },
   
}